A Greens senator has lashed Labor for not enacting “essential guard rails” on AI deepfakes ahead of this year’s federal election.