Twelve Senate Republicans voted with Democrats on Wednesday for the far-left “Respect for Marriage Act,” which is reportedly designed to provide federal protections for same-sex and interracial marriages.

Lawmakers voted for the measure 62-37 after a bipartisan group of senators made changes to the bill to include a clause about religious liberty. With the amendment agreed upon, the bill will go back to the House before going to President Joe Biden. The White House has expressed support for the measure.

The 12 Republicans who voted for the bill include Sens. Roy Blunt (R-MO), Richard Burr (R-NC), Shelley Moore Capito (R-WV), Susan Collins (R-ME), Joni Ernst (R-IA), Cynthia Lummis (R-WY), Lisa Murkowski (R-AK), Rob Portman (R-OH), Mitt Romney (R-UT), Dan Sullivan (R-AK), Thom Tillis (R-NC), and Todd Young (R-IN).

The Respect for Marriage Act (RFMA) was introduced following the Supreme Court’s overturning of Roe v. Wade, due to Democrats’ unfounded concerns that the Supreme Court could use the Dobbs decision to overrule the Court’s Obergefell gay marriage decision. The measure passed the House in July with the help of 47 Republicans, but Senate Majority Leader Chuck Schumer (D-NY) agreed to postpone a vote until after the midterms so that lawmakers from both sides of the aisle could attempt to address religious liberty concerns. 

RFMA would repeal the Clinton-era Defense of Marriage Act and would require the federal government to recognize any marriage that was “valid in the place where entered into.” The bill would also require every state to recognize every same-sex marriage that “is valid in the State where the marriage was entered into.”

As a report from Slate noted, the bill “does not go as far as Obergefell. In that decision, the Supreme Court directed every state to license same-sex marriages—that is, to issue a marriage certificate to same-sex couples. The RFMA does not codify this component of Obergefell.” According to the report:

So the RFMA does not force Texas to issue a marriage certificate to a same-sex couple. But it does force Texas to recognize a marriage certificate issued to a same-sex couple by New Mexico. In a post-Obergefell world, a same-sex couple in Texas could drive to New Mexico, obtain a certificate, and force Texas to respect their marriage like any other.

The bill does have a “private right of action” clause, which would allow “any person who is harmed by a violation of subsection (b)…[to] bring a civil action in the appropriate district court of the United States against the person who violated such a subsection for declaratory and injunctive relief.” The law would also allow an attorney general to bring civil action against any person who violates the law.