Revert "Merge pull request #19912 from kamituel/Bug_1019169_byte_str_conv"

This reverts commit 0f5dc07363da7a3f27e3ad5f1f7f957265e79bd8, reversing
changes made to 763b7f62805570b1606b8738075318020af3fa7d.