Although Terrifying Presence doesn’t affect the target creature, if that creature is an illegal target when Terrifying Presence tries to resolve, it won’t resolve and none of its effects will happen. No damage will be prevented.