My understanding of why companies cannot purposely show that they take perf or years of service into account has more to do with labour law than a lack of caring. You cannot take into account perf in a layoff - if you did, you are not allowed to call it a layoff, AFAIK.