The bill now goes back to the Democrat-led House before President Biden signs it into law.