How can Nernst equation apply in this redox reaction?
The flaw in your reasoning is that you are believing that $E^\circ$ is a constant, when really it is a function of temperature.  

See Standard Electrode Potentials and Temperature Coefficients in Water at 298.15K for a linear approximation of the temperature dependence of $E^\circ$.