A method to maintain phase-change memory pre-coding data retention after high temperature solder bonding process in embedded systems