The bill is now headed to the House of Representatives.