logd: statistics switch to std::string

(cherry pick from commit decbcd9c418a4d076965971e74fd51fab497414b)

Bug: 23350706
Change-Id: I5564898c4f67b8fcc43cee64604855f789409482
2 files changed