Governor signs bill to close consent loophole