A Memory Confidentiality Protection Scheme Based on Dynamic Keys and Compression Counter