The proposal passed both houses of Mexico's Congress, leading critics to fear weakened government transparency.