First, there's not much you can do about it - you can prepare your resume, you can work on your resume and your research summary. You can try to find people to act as your references, and start networking and brushing up your LinkedIn profile.
Other than that, I can't think of anything that you can do. The ax is gonna fall (or not), and there's not a lot that you can do to control that. Readers, any advice? I'd like to hear from people who have been through layoffs, especially those for whom the layoffs came early in their time at the relevant company.