Lawmakers and platforms are pushing new measures to fight nonconsensual intimate images and AI-generated deepfakes.