Fixed issue with implicit casting to std::string

Signed-off-by: retep998 <retep998@verizon.net>