Use Uuid.parse instead
import kotlin.uuid.Uuid
Uuid.parse(this)
Convert this String to a Uuid, or throws a IllegalArgumentException if this is a malformed Uuid.