Looks like lichen may be more suited to hydrogen production then oxygen.Not. Necessarily.
There are lichens, at least, that can survive exposure to vacuum conditions for at least 18 months:
Lichen Vitality After a Space Flight on Board the EXPOSE-R2 Facility Outside the International Space Station: Results of the Biology and Mars Experiment - PubMed
As part of the Biology and Mars Experiment (BIOMEX; ILSRA 2009-0834), samples of the lichen <i>Circinaria gyrosa</i> were placed on the exposure platform EXPOSE-R2, on the International Space Station (ISS) and exposed to space and to a Mars-simulated environment for 18 months (2014-2016) to...pubmed.ncbi.nlm.nih.gov
Lichen Symbiosis: Nature's High Yielding Machines for Induced Hydrogen Production
Hydrogen is a promising future energy source. Although the ability of green algae to produce hydrogen has long been recognized (since 1939) and several biotechnological applications have been attempted, the greatest obstacle, being the O[2] -sensitivity ...
www.ncbi.nlm.nih.gov