Security refresh: prevent malicious wear-out and increase durability for phase-change memory with dynamically randomized address