Two Democratic senators had called on the chamber to take the rare step, called unanimous consent, to approve the legislation