On Friday, Mexico’s Congress approved legislation that opens the state-controlled oil sector to foreign investment.