During inflation the metric is de-Sitter so $dt^2-d\underline{X}^2 $.
I know that the eqn.motion governing GW's from inflation (tensor perturbations) is
$$2H\dot{h}+\ddot{h}-\nabla^{2}_{i}h~=~0,$$
derived from varying $$S^{(2)}~=~\int \frac{a^{2}(t)}{2}~\partial^{\mu}h ~\partial_{\mu}h ~d^{4}x.$$
See paper 1 and paper 2. Surely this isn't valid during inflation because it isn't de-Sitter. I have read lots of papers/lectures where quantum fluctuations are found by deriving equations of motion from a metric with an $a(t)$ and then Fourier decomposed. Surely during inflation the metric can't contain an $a(t)$. So why do all these lectures/papers use it?