use getMetadataByMetadataString method