Compare two UUIDs regardless of their format. Throws FormatException if the UUID is invalid.
FormatException
static bool compareStrings(String uuid1, String uuid2) => string(uuid1) == string(uuid2);