rename `str` to `string` to fix overshadowing of variable
Merge pull request #15007 from vipulnsward/fix-scrubber-overshadow

rename var to fix overshadowing of variable