Returns key name.
key
the registry instance
a metadata key
metadata key name, or NULL if not found
NULL