Photo: AP Photo/Jacquelyn Martin

John Becker, right, hugs his friend and fellow LGBT advocate Paul Guequierre, outside the Supreme Court in Washington, Friday, June 26, 2015, after the court declared that same-sex couples have a right to marry anywhere in the US.

A bill once considered dead on arrival will move forward after the Senate voted on Wednesday to advance theRespect for Marriage Act, a piece of legislation that would provide federal protections for same-sex and interracial marriages.

The measure advanced in a 62-37 vote, with 12 Republicans voting in favor, allowing it to clear the required 60-vote hurdle to prevent a filibuster.

The Republican Senators who voted in favor of advancing the Respect for Marriage Act include: Mitt Romney, Joni Ernst, Cynthia Lummis, Roy Blunt, Shelley Moore Capito, Lisa Murkowski, Rob Portman, Dan Sullivan, Thom Tillis, Todd Young, Susan Collins.

Romney’s vote in favor of advancing the bill came hours after the Mormon church, of which he is a member, announced its support for RFMA.

“We believe this approach is the way forward,” the Mormon church said in a statement. “As we work together to preserve the principles and practices of religious freedom together with the rights of LGBTQ individuals, much can be accomplished to heal relationships and foster greater understanding.”

In his own statement, Romney said the legislation “provides important protections for religious liberty — measures which are particularly important to protect the religious freedoms of our faith-based institutions.”

Romney added that, while he believes “in traditional marriage,Obergefellis and has been the law of the land upon which LGBTQ individuals have relied. This legislation provides certainty to many LGBTQ Americans, and it signals that Congress — and I — esteem and love all of our fellow Americans equally.”

In a statement released Wednesday, Missouri Sen. Roy Blunt said he, too, supported the measure with the addition of its religious liberty amendment, saying it would accomplish two things: “People who are legally married in one state have the same protections and responsibilities in any other state that are offered to and required of marriages.”

While West Virginia Sen. Shelley Moore Capito had said she wasundecidedon the measure in July, she voted in favor of advancement on Wednesday.

“The Supreme Court has made a decision here and the question is, is this necessary?” Capito said of the RFMA in a virtual press briefing in July, per theBluefield Daily Telegraph. “I am going to wait until that legislation comes before us in the Senate before I make a determination and then I will take a look at it.”

Maine Republican Susan Collins — who was one of the bill’s sponsors — said on the Senate floor on Wednesday the bill “recognizes the unique and extraordinary importance of marriage on an individual and societal level.”

“It would help promote equality, prevent discrimination and protect the rights of Americans in same-sex and interracial marriages. It would accomplish these goals while maintaining, and indeed strengthening, important religious liberty and conscience protections,” Collins said, according to aUSA Todayreport.

Never miss a story — sign up forPEOPLE’s free daily newsletterto stay up-to-date on the best of what PEOPLE has to offer.

Democrats in the Senate had made protecting gay marriage a key priority in the wake ofthe Supreme Court’s decision to overturnRoe v. Wade, the landmark case that legalized a woman’s right to an abortion.

In aconcurring opinionon theRoedecision, Conservative Justice Clarence Thomas wrote that the Supreme Court should reconsiderGriswold v. Connecticut, Lawrence V. Texas, andObergefell v. Hodge— the rulings that currently protect the right to buy and use contraceptives without government restriction, the right to a same-sex relationship, and the right to same-sex marriage. Thomas' opinion raised eyebrows thatObergefellcould be on the chopping block.

But not all legislators supported the attempts to protect same-sex marriage.

One notable “No” vote came from Minority LeaderMitch McConnell, who has stayed relatively quiet on the issue in recent weeks.

source: people.com