Infinitesimal rigidity of convex surfaces through the second derivative of the Hilbert-Einstein functional II: Smooth case