Here's how algorithms can protect us against deepfakes