By providing a top level sanitization methods (rather than service) the compiler can generate calls into the methods only when needed. This makes the methods tree shakable. PR Close #22540
This is in preparation of having Ivy have sanitization inline. PR Close #22540