WASHINGTON (AP) — The Republican-led Senate has voted to undo Obama-era regulations that would have forced internet service providers like Comcast and Verizon to ask customers’ permission before they could use or sell much of their personal information.

Senators approved a measure Thursday along party lines, 50-48, to eliminate the rules.

READ MORE: Intel to Build $20 Billion Fabrication Facility in Midwest to Ease Chip Shortage

The Federal Communications Commission, then controlled by Democrats, put the regulations in place in October. They’re not in effect yet.

Industry groups and Republicans have protested the regulations. They said broadband providers would have to operate under tougher privacy requirements than digital-advertising behemoths like Google and Facebook.

READ MORE: Attorney General's Office: Man Shot Dead by Police at SFO Armed With Replica Gun

But Democrats and consumer advocates say it will be easier for phone and cable companies to use and sell customer data.

The House and President Donald Trump must still approve rolling back the privacy rules.

MORE NEWS: San Francisco 49ers Confirm DE Bosa Cleared to Play Against Packers

TM and © Copyright 2017 CBS Radio Inc. and its relevant subsidiaries. CBS RADIO and EYE Logo TM and Copyright 2017 CBS Broadcasting Inc. Used under license. All Rights Reserved. This material may not be published, broadcast, rewritten. The Associated Press contributed to this report.