Barrier of Plastic sheeting between wood and dirt
I'd go with dimple board instead of the plastic.  The dimpleboard will allow water to drain to the bottom of the retaining wall.

If you just go with plastic, assuming the retaining wall has air on one side, I'd expect it to last longer than without plastic.  I assume the soil being retained is wet more often than dry.