Fatigue and creep of a constrained metal wire