The bill will face much stiffer opposition in the Republican-controlled House of Representatives.