Cook's lawsuit sets in motion a legal battle that's likely to land before the Supreme Court within weeks