I am confused by the relation between the invariance of the Polyakov action under conformal transformations and the Conformal Killing Vectors (CKVs) appearing during the process of quantization. Let me phrase my doubts in two points:
- The conformal gauge for the worldsheet metric can always be reached locally: this means that ignoring issues related to boundary conditions, one can choose coordinates and Weyl rescaling in such a way that the Polyakov action can be written as \begin{align} S=\frac{1}{2\pi\alpha'}\int d^2z\,\partial X^\mu\overline\partial X_\mu. \end{align} This action is classically invariant under a subgroup of the original $\mathrm{diff}\ \times\ \mathrm{Weyl}$ given by the conformal transformations $z\to z+v(z)$. This group in two worldsheet dimensions is infinite dimensional, as it can be seen by looking at the Virasoro algebra, which has infinite generators $L_n$, $n\in\mathbb Z$.
- During the process of quantization, it becomes clear that there may not be a globally defined transformation that brings the metric into the conformal gauge (due to the existence of moduli) and that the form of the metric, once fixed, is preserved by a subgroup of the original $\mathrm{diff}\ \times\ \mathrm{Weyl}$ generated by CKVs satisfying $$(P\xi\,)_{ab}=\nabla_a\xi_b+\nabla_b\xi_a-h_{ab}\nabla_c\xi^c=0.$$ For example, the Conformal Killing Group on the sphere is $SL(2,\mathbb C)$, generated by the $L_{-1,0,1}$ subalgebra of the Virasoro algebra, whereas it is generated by the rigid translations for the torus $T^2$.
How are the above two points related?