Serializes a UUID to its string representation.
The encoder used to write the string representation of the UUID.
The UUID to be serialized.