s3:registry: create regdb_store_keys_internal() with db_context argument