Surely ECC already does that. You don't need encryption.

ECC just makes it take longer to find the right conditions for Rowhammering. You need to flip more bits in one go to override ECC integrity checks.

Not that common on consumer hardware.

well, not NOW