Fix notation
Suppose that $Prf_1(m, n)$ is the numerical relation that holds when $m$ numbers a $T$-proof of the sentence numbered $n$, according to scheme 1 for numbering wffs and sequences of wffs. Likewise $Prf_2(m, n)$ is the relation that holds when $m$ numbers a $T$-proof of the sentence numbered $n$ according to a different numbering scheme 2.
Let $\mathsf{Prf_1}$ represent $Prf_1$ in $T$, and put $\Box_1\varphi =_{def}$ $\exists \mathsf{x}\mathsf{Prf_1(x,\overline{\ulcorner\varphi\urcorner})}$, where $\overline{\ulcorner\varphi\urcorner}$ is $T$'s standard numeral for the number for $\varphi$ under scheme 1. Similarly for $\Box_2\varphi$.
Questions
A) Is it known what are the (most general?) conditions on the relation between coding schemes 1 and 2 for which we have
$T \vdash \Box_1\varphi \leftrightarrow \Box_2\varphi$, for any sentence $\varphi$?
B) What are the nicest/weakest(?) "derivability conditions" on a box $\Box$ in $T$, which if satisfied by both $\Box_1$ and $\Box_2$, mean that $T$ can again prove that equivalence?