1) Punish bad actors after the fact, and, more importantly:
2) Make being evil less of a rational option, and so dissuade people and organizations from breaking the law in the first place
If you've decided to be evil, 2) can't and won't deter you, and it would be easy enough to leak everyone's credit card information. Sure, you'll be punished, but hey, the amount of damage that would cause is probably insane.
Law enforcement could act fairly quickly, probably, but criminals would almost certainly get there first, and once they've got the information, you can't really take it back.