The mesh parameter of armature_deform_verts() is now const, to indicate that it's safe to pass ob->data to it directly.