get_metadata in object_storage should always allow specifying prefix

This PR ensures that all `get_metadata` calls in `object_storage` can be passed a `prefix` arg.