On deformations of metrics and their associated spinor structures