Purpose of LC Circuit Network before Audio Codec in mangOH Red


So the mangOH Red has a circuit network of inductors and capacitors between its audio codec and its 3.5 mm audio jack. I need more space on the board so I wanted to replace the 3.5 mm jack with either small solder pads or JST connectors to interface with the following independent speaker and microphone: https://www.cuidevices.com/product/resource/cms-16093-076x.pdf and https://www.knowles.com/docs/default-source/model-downloads/spk0641ht4h-1-rev-a.pdf.

I am assuming the inductors and capacitors are for impedance matching with the old 3.5 mm jack load impedance, so would I need to change this network since the connection method and load impedance is changing?

@asyal any ideas or any help?