Update usage of Sequence for all python versions.
Update usage of Sequence for all python versions.

PiperOrigin-RevId: 459458315
Change-Id: I678c1adac7aaaf7649550d9093b967d0b6851d31

google/lightweight_mmm,google/lightweight_mmm