Maryland Gov. Larry Hogan has signed a law to help secure long-term commitments from the Baltimore Orioles and Ravens to remain in their stadiums by allowing a state authority to borrow up to $1.2 billion for upgrades to the structures.