Method MCUIDC::delaymessage now takes StringRef arguments

Arguments converted from const char* to StringRef.