Correct span in privacy error

Fix #19062.
Yes. They are redundant.