Try felt or fabric as a replacement. New foam will only rot again.