This isn't `unique_ptr` related but passing a `const char *` from `c_str()` on a temporary `std::string` we get back from `AsStr()`, seems like it should have caused issues...