Thanks for the query.
From the complaints you had described it could be inflammation of soft tissues over the sole of the foot also called as Plantar fasicties. It can be treated by mild analgesics, local anti inflammatory gel application, Hot and cold
fomentation and some plantar fascia stretches, But please consult local orthopaedic doctor before starting of the treatment.
It is not related to old injury
you had to the leg.