Minimize the scope of some string consts

Help prevent "duplicate symbol" linker errors when this code is included more than once in an app (because one or more libraries includes this code).