After passing both the House and the Senate with bipartisan support, the legislation will seek to protect same-sex and interracial marriages under federal law.