You might want to look at a fm transmitter and listen to your CD's through the radio.
eg: https://www.pbtech.co.nz/product/TAABEL4440063/Belkin-Tunecast-Auto-Universal-Hands-Free-AUX-V2
or assuming your car stereo has bluetooth, connect your CD player to a BT transmitter
eg: https://www.pbtech.co.nz/product/TVNSEN508258/Sennheiser-BT-T100-Dual-Bluetooth-Transmitter-for