"This is the time you are going to show us whether you’re a homo or you’re not," one lawmaker said in support of the bill.