There’s not so much an issue of sound quality here. Both products are digital processors, which means that most of their functionality comes from software running on a DSP chip. That software has to be stored in the device in a way that the data doesn’t disappear when the device reboots; the best solution to do that was a chip called a “Read-Only memory” (or ROM). Placing the ROM chip in a socket (like you see here) also allowed relatively easy updates to the software (just replace it with a new chip programmed with the updated software).
We still use persistent data chips to store software in newer products. You’ll more frequently see them referred to as “flash” or “EMMC” chips now, but that’s mostly a question of usage (the chip in your picture is also technically a flash memory): we don’t them as “read only” because we support the ability to easily update them in the field without changing any hardware (modern chips are much faster, have more storage space, and can be re-written more often than in the past).