This is a by the way to the aboveYou can use bleach on wood. Unlike cloth like cotton which will get holes eaten through it bleach will not physically damage the wood. It will take the color out of it though but since the wood you are talking about is not for a finished floor it won't matter. Bleach solutions are used on hardwood floors that have been flood damaged. It removes the swamp smell and takes out the black staining left from putrid flood water. However on a finished floor the finish needs to be redone after it is treated. So you could use a bleach solution to soak the wood but you need to not get it on other things that might be damaged like the carpet. And one nice thing about bleach is it's inexpensive and easy to get.
Bleach is used in woodworking sometimes to lighten the color of wood so it can be matched to other woods. It is the opposite of staining.
If it smells like ammonia don't use bleach. Bleach and ammonia do not play well together, they react and can make chlorine gas which is really bad to breath. In this case things have long since dried up and the ammonia has left, evaporated. Vinegar, since it is an acid can neutralize ammonia if it is still active. Bleach can treat the stain and remove other odors but only if there is no ammonia. You almost need to have a chemistry degree for this stuff.
Now I am wondering if misting a litter box with vinegar would be a thing to do since it gets rid of the ammonia. ---- I can just see the headlines now ------ Cat owner ends up dead on the floor after playing in used kitty litter ----