One former lawmaker called the ad a violation of the Take It Down Act criminalizing nonconsensual porn and digital forgeries.