From Schwartz "QFT And The Standard Model", section 8.2.2. $$ \ L=-\frac{1}{2} \partial_\nu A_\mu \partial_\nu A_\mu+\frac{1}{2} m^2 A_\mu^2.\tag{8.17} $$
The author says that this is not a Lagrangian for a spin-1 particle, but for four scalar particles. Whereas the Lagrangian $$ \ L=\frac{a}{2} A_\mu \square A_\mu+\frac{b}{2} A_\mu \partial_\mu \partial_\nu A_\nu+\frac{1}{2} m^2 A_\mu^2.\tag{8.20} $$
gives a Lagrangian for spin-1 particles, because "the $\partial_\mu A_\mu $ contraction forces $A_\mu $ to transform as a 4-vector".
I need some (more explicit) explanation of that. Why can't I contract in the first Lagrangian and force $ \ A_\mu $ to transform as a 4-vector? What contraction takes place in the second Lagrangian?