The U.S. Senate on Wednesday overwhelmingly approved legislation amending Section 230 of the Communications Decency Act to allow civil and criminal sex trafficking-related claims against internet companies, sending the bill to the White House.

The Allow States and Victims to Fight Online Sex Trafficking Act, or FOSTA (H.R. 1865), was approved in a vote of 97-2. The only lawmakers voting against the bill were Oregon Democrat Ron Wyden, who co-authored Section 230, and Kentucky Republican Rand Paul. Sen. John McCain, R-Arizona, did not vote, although he supported the bill.