The bill will now head to President Joe Biden's desk for his signature.