NAD(H)-dependent dehydrogenase/reductase with a preference for cyclic substrates (By similarity) (PubMed:35150746). Catalyzes stereoselective conversion of 4-oxo-L-proline to cis-4-hydroxy-L-proline, likely a detoxification mechanism for ketoprolines (PubMed:35150746). Mediates the formation of 2,5-dihydroxybenzoate (2,5-DHBA), a siderophore that chelates free cytoplasmic iron and associates with LCN2, thereby regulating iron transport and homeostasis while protecting cells against free radical-induced oxidative stress. The iron-siderophore complex is imported into mitochondria, providing an iron source for mitochondrial metabolic processes in particular heme synthesis (By similarity). May act as a 3-hydroxybutyrate dehydrogenase (PubMed:16380372).