Baking soda is cheap enough, you could lay a solid layer on the padding side of the carpet and leave it for a few days, then flip the carpet and do the same to the other side.
When I shot that skunk in front of my house last year it leaked and stunk something fierce, and the 2 things that got rid of the smell were time and baking soda.