something that doesn't matter toにとっては marks whose perspective is being described. The phrase can sound dismissive, especially when said about something important to someone else.
JA: 彼にとってはどうでもよいことかもしれない。
EN: It may be something that doesn’t matter to him.