Australia’s same-sex marriage legislation is one step closer to becoming law following a massive endorsement in the Senate.