The measure passed along party lines by a 52-48 vote. To become law, it will need to be passed by the U.S. House of Representatives.