Rename the parameter db to db_name.
Decode the metadata.