Mexico's Senate voted Wednesday for the final legislation to implement a historic energy reform that will end the 75-year-old state oil monopoly and bring back foreign investment.