Understanding std::string_view

Using std::string_view for allocation-free string access while avoiding lifetime, ownership, and null-termination pitfalls.