Use new check_write_key API as accessed keys in general is causing too many false positives