Protect the key cache