Critical current degradation in HTS wires due to cyclic mechanical strain