This is to prepare Muxer to become public PiperOrigin-RevId: 481893842 (cherry picked from commit 9221b125)