Firstly, I doubt Harris can get enough senators, even Democratic senators, to confirm her nomination.
Secondly, wrt immunity, the Supreme Court put limits on the president's ability to prosecute, which would tend to prevent Harris from doing that, not the other way around.