Move EntityPermissionsManagerImpl.restorePrefix() to KeyFactory.keyToString()
Add PermissionsManagerUtils to be shared