Convert guid to md5 for better index and handle very long guid.