Lawmakers approved the measure by a vote of 212-to-206 .