Baking soda: This is also a good absorbent. Put a generous amount of baking soda in an uncovered container (the size of the container depends on the size of the confined area) and leave it for several days. Remove the baking soda and replace it with new one and leave it for a couple of days. Continue replacing the baking soda until it has cleared the trash can smell.
Trash Can Smell Masking : If you can't beat them, hide them; that's the whole idea behind perfumes and some such products, isn't it? The methods below basically mask the smell with another more powerful odor rather than remove the smell, so you should be sure you are going to be happy with the result.