Active PIE in CM with hardware keys