This only needs a StringRef. No functionality change.
Update for llm api change.