Rename method `generateExpiringRandomKey` to `generateExpiringRandomString` for consistency.