High energy factorization in nucleus-nucleus collisions. I