With C++17, .data() for std::string now has a non-const overload, so we can make use of that instead of taking the address of the first element.
With C++17, .data() for std::string now has a non-const overload, so we can make use of that instead of taking the address of the first element.