Revert "Remove std::char_traits for non-standard types"

This reverts commit 95796d7e43bb7d55623b9279a6bb89e5847d5ae8.

Reason for revert: broke build

Bug: http://b/329303505
Change-Id: Iae4e7adf5d7708ae3816a16e471d930f4b875a0c
1 file changed