Cleaning or pickling metallic material with solutions or molten salts