use boost::string_ref/boost::string_view in various parts of the code, in file_storage, some file functions and in bdecode.