It's not a wash, because stock allows voting* and cash does not. You could also require that firms reserve a certain amount of stock as collateral against data breaches, with rules specified about its issuance, voting behavior, and distribution designed to maximize the negative impact upon existing shareholders and management. The owners and operators of a firm that extracts information as well as revenue from consumers but fails to secure such information should suffer the consequences of their negligence.
* well, not all stock allows voting, some companies have different classes of stock to prevent plebs having leverage over corporate decision-making. Since I'm making up possible rules, I'd ban that too.