Improve needless_as_bytes to also detect str::bytes()
#13972
Merged
needless_as_bytes to also detect str::bytes()
#13972