I’m not a lawyer either but my reading indicates it applies to ANY federal judge.
Again, not saying it doesn’t and clearly Kagan has no business judging this law regardless. However I am not sure if this law directly applies to Supreme Court Justices. I am sure someone here who is an attorney can let us know.