Senate poised to codify legal protection for same-sex marriage