TECHNOLOGY FOCUS - INORGANIC CHEMISTRY - Preferred Components: The membrane is electrically conductive and stable as a cathode during electrolysis so as to provide one of the electrodes. The membrane comprises at least one material selected from iron, iron alloys, nickel, gold, platinum, palladium, and/or palladium alloys. The anode comprises a material selected from platinum, nickel, iron, iron alloys, gold, and/or palladium. The membrane has a thickness of 0.005-2.5 mm. The hydrogen which diffuses across the membrane is atomic hydrogen. The solution is selected from alkaline solutions, acid solutions and/or water; or is an electrolyte solution. The solution comprises sodium hydroxide solution at a concentration of 0.001-10 M.    TECHNOLOGY FOCUS - ORGANIC CHEMISTRY - Preferred Method: The step of converting the metalloporphyrins produces metals, and additionally involves removing the metals. The method is carried out at 25-300 degrees C. The deposition of metals on surfaces of the membrane provides an upgrade in at least one of atomic hydrogen permeation and atomic hydrogen reactivity against the hydrocarbon feed. The applying step involves applying current at a current density of 1.6-80 mA/cm2. The method additionally involves providing a solution for generating atomic hydrogen at the hydrogen source side of the membrane. Preferred Components: The metalloporphyrins are selected from vanadium porphyrin and/or nickel porphyrin. The hydrocarbon feed comprises fluid catalytic cracking (FCC) feedstock; and also contains sulfur in different types of compounds, where the hydrogen reacts with these different types of compounds to form H2S and desulfurized compounds. The hydrocarbon feed comprises sulfur, and the treated hydrocarbon has a reduced amount of sulfur as compared to the feed. EXAMPLE - A Venezuelan crude oil (as feed) comprised of: API gravity (not defined) of 16.8, asphaltenes content of 9.8 wt./wt.%, sulfur content of 4.25 wt./wt.%, nitrogen content of 0.57 wt./wt.%, vanadium content of 703 ppm, and nickel content of 64 ppm, was extracted using liquid-liquid extraction with acetonitrile. A demetalization reaction was performed using a palladinized palladium sheet (palladium black) prepared following known procedures, where operating conditions for the demetallization, or porphyrin conversion reaction, were as follows: Electrolyte medium: NaOH 0.1M; current density: -31 mA/cm2; cathode: palladium black; cathode thickness: 0.125 mm; anode: platinum mesh; reaction temperature: 20 degrees C; feedstock: 100 ml of dichloromethane+extract of Venezuelan crude oil having an API gravity of 17; and electrolysis time: 24 hours. Ultra-violet visible spectra were obtained of the feedstock at 0, 4, 19 and 24 hours. The porphyrin absorption band clearly diminished over the time of the reaction, which indicated that porphyrin conversion was taking place. The conversion rate was estimated at 44% for the 24 hours period. This conversion was obtained at non-severe conditions.