If you are talking about a hardscape area that is non-porous, like concrete or rock, and don't have to worry about runoff damage, you could try bleach diluted in water at a rate of about 1 part bleach to 10 parts water.
Also spreading the soil with Pelletized lime will eliminate the odor.
Our concrete area has the smell of wet dog everytime it rains. They told us muratic acid. Make a bucket full 1 part acid to 2 parts water, we scrubbed it in with a stiff brush attached to our broom handle. Rinsed it. Still faint smell. Will repeat process. Then seal or paint concrete to keep it out.