WASHINGTON — Prosecutors and victims will have greater power to go after websites that have facilitated the online sex business, under a new bill passed by the Senate on Wednesday, and big tech companies fear it will open the door to greater regulation by Washington.

The Senate passed the bill, 97 to 2, and sent it to President Donald Trump, who is expected to sign it. The House passed it last month.