[service] add MetadataKeyDefService