Generates an optional UUID to be passed into the string_format method. If the return is not null, then it should be recorded with Glean as a UuidMetricType.
string_format