Processes controlling metal ion attenuation in acid mine drainage streams