Fix MONGODB-X509 on Windows SERVER-10979

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