first part pictured is the drain valve part # 7154622001
the drain pump is part # 7154618701Both parts are available.
a pump cant cause your machine to lose water like you describe though, something has to be telling that pump to drain.
the drain valve might be able to cause the water loss if its stuck open during wash
you have a high water level pressure switch, this might not be connected properly, or malfunctioning, this switch will make the machine drain if activated
also you have a low water level switch, this switch turns off the water supply when satisfied there is enough water in the tub, this would be my first guess at your defective part, if this pressure switch does not shut off water supply the high level switch will activate next turning on the drain pump because the machine thinks its about to flood
in saying all this, i have to applogise cause i cannot locate the error code list for this icon machine so i'm not positive what that codes meaning is at this time
common problem on the icon machines was the installer forcing them into an opening that was too small, this damages the housing on the side of the machine for the pressure switches