No change in behavior. New function is split from CRPCTable::execute and used in the next commit.
This is a backport of core#21035 [2/3]
https://github.com/bitcoin/bitcoin/pull/21035/commits/14f3d9b908ed9e78997bfaad3d8a06357a89d46e
Depends on D10764