This post is very similar in content to this one. I'm looking for a quantum implementation of the transformations
$$ x_i \to x_i + f(p) p_i, $$
$$ p_i \to h(p) p_i. $$
In these, the subindex $i$ denotes components of $\mathbf{x}$ and $\mathbf{p}$; and $f(p)$ and $h(p)$ are scalar functions of $p\equiv|\mathbf{p}|$. So I'm looking for the operator $T$ implementing
$$ T x_i T^{-1} = x_i + f(p) p_i, $$
$$ T p_i T^{-1} = h(p) p_i. $$
I tried guessing an expression for $T$ inspired by the accepted answer to the post mentioned at the beginnig, but I couldn't work out the calculations to verify if I guessed it right. When trying to do so, I used the relation
$$ [A, e^B] = \int_0^1 ds e^{(1-s)B}[A,B]e^{sB} $$
discussed here, but got trapped in seemly never-ending nested, multiple integrals.
ADDENDUM
As pointed out in the comments, the transformations above are (classicaly) canonical only for the trivial case of $h=1$. To make my question more pertinent, I rephrase it removing the required transformation for $x_i$. Therefore, I ask for the quantum implementation of the transformation $p_i \to h(p) p_i$, letting the transformation of $x_i$ be determined after requiring canonicity.