SERVER-10979 Fix MONGODB-X509 on Windows

StringData isn't the right type in this context. Use
std::string instead.