I don’t think they got replaced. Colloquially they mean the same thing.
Maybe learnings sounds a little more casual and lessons more academic or formal.
Lessons is since the 13th century.
Lessons is since the 13th century.