Williams says hearing of her friend's arrest left her "surprised for sure."
When Huffman was arrested last month on charges of fraud in relation to the massive college admissions scandal also plaguing Lori Loughlin, Williams texted her to check in.
"I was terrified for her when I heard that the feds came with guns drawn in the morning to take her down," Williams told Us Weekly on Thursday. "My phone blew up. I did text her. I just said, 'Wishing you love and protection.' And she just said, 'Thank you, my dear friend. That's what I need.' And that's all you can do as a friend."
Williams admitted that hearing of the scandal and subsequent arrest left her "surprised for sure."
"I'm happy that all my kids, luckily, went to art schools or had to audition," she added. "But you know, I know what it's like to want the best for your kids."
On the morning of March 12 -- while Huffman, husband William H. Macy and their two daughters were still sleeping -- seven FBI agents showed up to their Hollywood Hills home. With weapons drawn, they ordered the actress to come out and surrender.
From there, Huffman was taken to a federal building, where she was processed by federal marshals. She was indicted for conspiracy to commit mail fraud and honest services mail fraud after allegedly paying $15,000 to have a proctor accomplice correct her oldest daughter's SAT scores before submitting them.
On April 8, Huffman plead guilty. "I am in full acceptance of my guilt, and with deep regret and shame over what I have done, I accept full responsibility for my actions and will accept the consequences that stem from those actions," she said in a statement.
Got a story or a tip for us? Email TooFab editors at email@example.com.