Many-body effects of a two-dimensional electron gas on trion-polaritons