Hiram Maxim invented the firearm muffler patented in 1908. He called it a firearm silencer. He also invented the car muffler.
Hollywood invented silencers.
In the real world noise suppressors are used by the rest of the world.