As I'm trying to replace our uses of raw "const char *"
with StringRef, one issue that came up is that calling .data()
on a StringRef is seen as "dangerous": there is no guarantee
that the String will be null terminated.
This is an attempt to alleviate this issue: instead of calling
data(), users that knows (because of an API contract) that a
StringRef must be null terminated can call c_str() instead.