Impurity-induced disordering in multilayer structures