After a rigid motion, write the plane as z=0 and the surface locally as z=h(x,y). Along the curve of tangency, h=0 and ∇h=0. Differentiating ∇h(γ(s))=0 shows that the Hessian annihilates the nonzero tangent γ′(s), so its determinant and therefore the Gaussian curvature vanish.