Put on eye protection and a pair of leather work gloves.
Unfasten the bolts holding the damaged floor sill against the concrete foundation, using an impact wrench.
Insert a pry bar under the ant-eaten floor sill and pry it up with a pry bar. You may have to hammer the floor sill loose with a 3 lb. hand-sledge to get it free.
Measure the length of the damaged floor sill you removed with a tape measure. Cut a new sill out of 2-by-4-inch lumber to the same length, using a circular saw.
Fit the new sill into place and fasten it to the foundation with an impact wrench using the bolts you removed from the old sill to finish. Replace any other ant-damaged sills following the same procedure and reinstall the plywood subfloor.